home *** CD-ROM | disk | FTP | other *** search
/ Windows News 2010 Summer - Disc 1 / WN_Ete2010_CD1.iso / Onglet5 / Weezo / Weezo setup.exe / {code_appDir} / www / res / website / external / index.php < prev    next >
PHP Script  |  2010-05-19  |  1KB  |  41 lines

  1. <?php
  2. /**
  3.  * Embeded external website
  4.  *
  5.  * PHP version 5
  6.  *
  7.  * LICENSE: This source file is subject to version 3.0 of the PHP license
  8.  * that is available through the world-wide-web at the following URI:
  9.  * http://www.php.net/license/3_0.txt.  If you did not receive a copy of
  10.  * the PHP License and are unable to obtain it through the web, please
  11.  * send a note to license@php.net so we can mail you a copy immediately.
  12.  *
  13.  * @category   NA
  14.  * @package    NA
  15.  * @author     Nicolas Bruley / Peer 2 World <contact@weezo.net>
  16.  * @copyright  2005-2007 Nicolas Bruley / Peer 2 World
  17.  * @license    http://www.php.net/license/3_0.txt  PHP License 3.0
  18.  * @version    CVS: $Id:$
  19.  * @link       http://www.weezo.net
  20.  * @since      File available since Release 1.0.8
  21.  */
  22.  
  23. if(!cfRGetVar('url')) outDisplayErrorPage(cfCaption('bookmarksInvalidURL'));
  24.  
  25. header('Location: '.cfRGetVar('url'));
  26. exit;
  27.  
  28. /**
  29.  * Head
  30.  */
  31. cfInsertHEAD(false);
  32. if(cfRGetVar('fixedSize')) echo '<script type="text/javascript">winMe.resizable(false)</script>';
  33.  
  34. // Iframe embeded site
  35. ?>
  36. </head>
  37. <body style="padding:0;margin:0">
  38. <iframe src="<?php echo cfRGetVar('url');?>" style="height:100%;width:100%;padding:0;margin:0" frameborder="0"></iframe>
  39. </body>
  40. </html>
  41.